package com.ruoyi.ora.netty.channel.domain;

import java.util.Date;

public class CallEntity {

    private String id;
    private Integer callStatus; // 通话状态 1 呼叫中 2 已接通 3 已挂断 4 已取消
    private String userId;  // 设备序列号
    private String deviceSn;  // 设备序列号
    private String channelId;  // 通道号
    private Integer callId;   // 通话id
    private Integer callType; // 通话类型  1 设备呼叫app   2 app呼叫设备   ，3 设备接听，  4 app接听
    private Integer callDuration; // 通话时长 单位秒
    private Date callTime; // 通话时间 格式yyyy-MM-dd HH:mm:ss
    private Date connectTime; // 接通时间 格式yyyy-MM-dd HH:mm:ss
    private Date endTime; // 通话结束时间 格式yyyy-MM-dd HH:mm:ss

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getCallStatus() {
        return callStatus;
    }

    public void setCallStatus(Integer callStatus) {
        this.callStatus = callStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Integer getCallId() {
        return callId;
    }

    public void setCallId(Integer callId) {
        this.callId = callId;
    }

    public Integer getCallType() {
        return callType;
    }

    public void setCallType(Integer callType) {
        this.callType = callType;
    }

    public Integer getCallDuration() {
        return callDuration;
    }

    public void setCallDuration(Integer callDuration) {
        this.callDuration = callDuration;
    }

    public Date getCallTime() {
        return callTime;
    }

    public void setCallTime(Date callTime) {
        this.callTime = callTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getConnectTime() {
        return connectTime;
    }

    public void setConnectTime(Date connectTime) {
        this.connectTime = connectTime;
    }
}
